package com.zz.mapper;

import com.zz.domain.HeartbeatLog;
import org.apache.ibatis.annotations.*;

@Mapper
public interface HeartbeatLogMapper {
    @Insert("INSERT INTO heartbeat_logs(machine_id, heartbeat_time, response_time, response_status) " +
            "VALUES(#{machineId}, #{heartbeatTime}, #{responseTime}, #{responseStatus})")
    int insert(HeartbeatLog heartbeatLog);
}